<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./storageUtils.js"></script>
</head>
<body>
    <script>
        // saveToken('8888');


        // console.log(getToken());

        // removeToken();

        // console.log(getToken());


        setUserInfo({
            name:'laowang',
            age:18
        })

        let name = getUserInfo().name;

        console.log(name);

        removeUserInfo();

        let name2 = getUserInfo();

        console.log(name2);


    </script>
</body>
</html>